/**
 * @filename:DeviceOnlineStatusAlterLog 2020年11月20日
 * @project   V1.0
 * Copyright(c) 2020 caoshuai Co. Ltd. 
 * All right reserved. 
 */
package com.itlong.cloud.POJO.PO;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.util.Date;
import org.springframework.format.annotation.DateTimeFormat;

/**   
 * <p>说明： 特殊电梯设备信息实体类</P>
 * 
 * @version: V1.0
 * @author: caoshuai
 * 
 */
@Data
@NoArgsConstructor
@ItlTables("device_online_status_alter_log")
public class DeviceOnlineStatusAlterLogPO{

	private static final long serialVersionUID = 1606202446921L;


    /***/
    @ItlField("id")
	private Integer id;

    /***/
    @ItlField("online_status_alter_log_id")
    private String onlineStatusAlterLogId;

    /**在线状态*/
    @ItlField("online_status")
	private Integer onlineStatus;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    /**设备状态变更时间*/
    @ItlField("status_alter_time")
	private Date statusAlterTime;


    /***/
    @ItlField("sn")
	private String sn;


    /**设备类型( 0云电梯，1云对讲，2云门禁，3群控器，4联动器，5人脸识别仪，6一体式人脸识别门禁)*/
    @ItlField("device_type")
	private Integer deviceType;


    /**设备全局唯一序列号(项目编号[8位] + 设备类型[1位] + 设备ID[4位])*/
    @ItlField("device_unique")
	private String deviceUnique;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    /**创建时间*/
    @ItlField("create_time")
	private Date createTime;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")

    /**修改时间*/
    @ItlField("update_time")
	private Date updateTime;


    /**状态 0删除 1正常 2禁用*/
    @ItlField("status")
	private Integer status;


    /**创建人id*/
    @ItlField("create_user_id")
	private String createUserId;


    /**操作人id*/
    @ItlField("operate_user_id")
	private String operateUserId;

}
